<?php
class User_Model_Characters extends Pldkp_Db_Table_Abstract {
    protected $_name = 'characters';
    protected $_rowClass = 'User_Model_CharacterRow';
    protected $_dependentTables = array(    'User_Model_CharactersRolesRaiderRanks',
                                            'Raid_Model_Signups');
    protected $_referenceMap = array(
        'User'      =>  array(
                            'columns'       => array('user_id'),
                            'refTableClass' => 'User_Model_Users',
                            'refColumns'    => array('id')
                        ),
        'Classes'   =>  array(
                            'columns'       => array('class_id'),
                            'refTableClass' => 'User_Model_Classes',
                            'refColumns'    => array('id')
                        )
    );
	
}
?>